RT_SECURE_NO_WARNINGS 1

#include <iostream>
#include <string>

using namespace std;

string Modify(string& src)
{
	string add = "*";

	size_t pos = src.find("CHUXIN");
	if (pos == string::npos)
		return "";
	//说明有
	while (pos != string::npos)
	{
		src.insert(pos + 3, add);
		pos = pos + 3;
		pos = src.find("CHUXIN");
	}
	return src;
	
}

int main()
{
	string src = "abcCHUXINfffcCHUXIN"; //第三个位置多一个*
	cout << Modify(src) << endl;
}
